package com.tbit.uqbike.object.pojo.vo;

import com.tbit.uqbike.webmanager.util.csv.annotations.Csv;
import com.tbit.uqbike.webmanager.util.csv.annotations.Sum;
import lombok.Data;

import java.util.Date;

/**
 * 押金收支明细
 *
 * @AUTHOR: wei.xing
 * @DATE: 2022-11-11 16:02
 **/
@Data
public class DepositIncomeVO {

    /**
     * 交易记录id
     */
    private Long transactionId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 区域id
     */
    private Integer accountId;

    /**
     * 用户姓名
     */
    @Csv(name = "用户姓名")
    private String userName;

    /**
     * 用户手机号码
     */
    @Csv(name = "用户手机号码")
    private String phone;

    /**
     * 运营区域
     */
    @Csv(name = "运营区域")
    private String accountName;

    /**
     * 押金金额
     */
    @Sum
    @Csv(name = "押金金额")
    private Double transactionMoney;

    /**
     * 收支类型 1：收入 2：支出
     */
    @Csv(name = "收支类型", keys = {"1", "2"}, values = {"收入", "支出"})
    private Integer incomeType;


    /**
     * 操作时间
     */
    @Csv(name = "操作时间")
    private Date payTime;


    /**
     * 商户平台订单号
     */
    @Csv(name = "商户平台订单号")
    private String transactionNO;

    /**
     * 运营平台订单号
     */
    @Csv(name = "运营平台订单号")
    private String businessNO;

    /**
     * 商户平台 1：微信，2：支付宝，3：汇付
     */
    @Csv(name = "商户平台", keys = {"1", "2", "3"}, values = {"微信", "支付宝", "汇付"})
    private Integer payPlatform;

    /**
     * 备注
     */
    @Csv(name = "备注")
    private String remark;

}
